package top.kaoshanji.p1ch02b;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

/**
 * 代码清单-p1ch02b-38页b：新建JavastackProperties参数类进行参数绑定
 * @author kaoshanji
 * ^_^
 * create time 2025/5/21 15:01
 */
@Data
@Component
@ConfigurationProperties(prefix = "javastack")
public class JavastackProperties {

    private String name;

    private String site;

    private String author;

    private List<String> users;

    private Map<String, String> params;

    private Security security;

}
